/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

/**
 * <p>Project: jse2204 - For7
 * <p>Powered by webrx On 2022-09-05 11:47:28
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class For7 {
    public static void main(String[] args) {
        int s = 11;
        int sp = s;
        for (int i = 1; i <= s; i+=2)
            System.out.println(" ".repeat(sp--) + "*".repeat(i));
        ++sp;
        for (int i = s-2; i >=1; i-=2)
            System.out.println(" ".repeat(++sp) + "*".repeat(i));
    }
}
